<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%--
    		s:a			:a
    		s:div			:div
    		s:if			:조건문
    		s:elseif		:다중조건문
    		s:iterator:루프문
    
    
     --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
	a{text-decoration: none; color: black}
	a:HOVER {color: red}
</style>
</head>
<body>
	<center>
		<h1>내용 수정</h1>
		<form action="../board/bpupdate_ok.do" method="post" id="bpUpdate">
		<table border=2 width=500 bordercolor=#d5d5d5 cellpadding="0" cellspacing="0">
			<tr>
				<td rowspan="2" width=20%>ID</td>
				<td rowspan="2" width=30%>${vo.id }</td>
				<td width=20%>조회수</td>
				<td width=30%>${vo.readnum }
					<input type="hidden" name=no value=${vo.no }>
					<input type="hidden" name=jsptype value="${jsptype }">
					<input type="hidden" name="ono" value="${ono }">
					<input type="hidden" name="page" value="${page }">
				</td>
				
			</tr>
			<tr>
				<td width=20%>작성일</td>
				<td width=30%><s:date name="vo.writeday" format="yyyy-MM-dd" /></td>
			</tr>
			<tr>
				<td width=20%>제목</td>
				<td colspan=3 align=left >
					<input type="text" name="subject" value="${vo.subject }" size="50">
				</td>
			</tr>
			<tr>
				
				<td colspan=4 align=left valign=top height=220>
					<pre><textarea rows="15" cols="70" name="content">${vo.content }</textarea></pre>
				</td>
				
			</tr>
			
		</table>
		<table width=500 border=0>
			<tr>
				<td align="center" width="10%">
					비번
				</td>
				<td align="left">
				
					 <input type="password" name=pwd size="5">
				</td>
			</tr>
			<tr>
				<td colspan="2" align=right>
					<s:a id="bpUpdate" theme="ajax" targets="blogcontent" showLoadingText="false">수정</s:a> &nbsp;&nbsp;
					<s:a href="../board/bpcontent.do?no=%{vo.no}&jsptype=%{jsptype}&ono=%{ono}&page=%{page}" theme="ajax" targets="blogcontent">취소</s:a> &nbsp;&nbsp;  
					<s:a href="../board/boardselect.do?jsptype=%{jsptype}&ono=%{ono}&page=%{page}" theme="ajax" targets="blogcontent">
						목록
					</s:a>
				</td>
			</tr>
		</table>
		</form>
	</center>
</body>
</html>